package com.zhao.pojo;

public class PublicizeImpl {
    private String publicizeID;
    private String title;
    private String text;
    private String dateandtime;
    private String fromID;
    private String universityID;
    private String universityName;
    private int pageviews;

    private String fromName;
    private String fromDepartmentName;
    private String image;

    public PublicizeImpl(String publicizeID, String title, String text, String dateandtime, String fromID, String universityID, String universityName, int pageviews, String fromName, String fromDepartmentName, String image) {
        this.publicizeID = publicizeID;
        this.title = title;
        this.text = text;
        this.dateandtime = dateandtime;
        this.fromID = fromID;
        this.universityID = universityID;
        this.universityName = universityName;
        this.pageviews = pageviews;
        this.fromName = fromName;
        this.fromDepartmentName = fromDepartmentName;
        this.image = image;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    @Override
    public String toString() {
        return "PublicizeImpl{" +
                "publicizeID='" + publicizeID + '\'' +
                ", title='" + title + '\'' +
                ", text='" + text + '\'' +
                ", dateandtime='" + dateandtime + '\'' +
                ", fromID='" + fromID + '\'' +
                ", universityID='" + universityID + '\'' +
                ", universityName='" + universityName + '\'' +
                ", pageviews=" + pageviews +
                ", fromName='" + fromName + '\'' +
                ", fromDepartmentName='" + fromDepartmentName + '\'' +
                ", image='" + image + '\'' +
                '}';
    }

    public PublicizeImpl(String publicizeID, String title, String text, String dateandtime, String fromID, String universityID, String universityName, int pageviews, String fromName, String fromDepartmentName) {
        this.publicizeID = publicizeID;
        this.title = title;
        this.text = text;
        this.dateandtime = dateandtime;
        this.fromID = fromID;
        this.universityID = universityID;
        this.universityName = universityName;
        this.pageviews = pageviews;
        this.fromName = fromName;
        this.fromDepartmentName = fromDepartmentName;
    }

    public String getUniversityName() {
        return universityName;
    }

    public void setUniversityName(String universityName) {
        this.universityName = universityName;
    }

    public PublicizeImpl() {
    }

    public PublicizeImpl(String publicizeID, String title, String text, String dateandtime, String fromID, String universityID, int pageviews, String fromName, String fromDepartmentName) {
        this.publicizeID = publicizeID;
        this.title = title;
        this.text = text;
        this.dateandtime = dateandtime;
        this.fromID = fromID;
        this.universityID = universityID;
        this.pageviews = pageviews;
        this.fromName = fromName;
        this.fromDepartmentName = fromDepartmentName;
    }

    public String getPublicizeID() {
        return publicizeID;
    }

    public void setPublicizeID(String publicizeID) {
        this.publicizeID = publicizeID;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getDateandtime() {
        return dateandtime;
    }

    public void setDateandtime(String dateandtime) {
        this.dateandtime = dateandtime;
    }

    public String getFromID() {
        return fromID;
    }

    public void setFromID(String fromID) {
        this.fromID = fromID;
    }

    public String getUniversityID() {
        return universityID;
    }

    public void setUniversityID(String universityID) {
        this.universityID = universityID;
    }

    public int getPageviews() {
        return pageviews;
    }

    public void setPageviews(int pageviews) {
        this.pageviews = pageviews;
    }

    public String getFromName() {
        return fromName;
    }

    public void setFromName(String fromName) {
        this.fromName = fromName;
    }

    public String getFromDepartmentName() {
        return fromDepartmentName;
    }

    public void setFromDepartmentName(String fromDepartmentName) {
        this.fromDepartmentName = fromDepartmentName;
    }

}
